package com.hava.mybatis.user.repository;

import com.hava.mybatis.user.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * Created by zhanpeng on 09/10/2016.
 */
public interface GetUserInfoAnnotation {

    @Select("select * from user where id = #{id}")
    public User getUser(int id);
}
